package biz.obake.team.android;

import android.app.Application;
import biz.obake.team.touchprotector.g.b;
import java.io.OutputStream;
import java.io.PrintStream;

public class a extends Application {

    /* renamed from: c  reason: collision with root package name */
    private static a f1519c;

    /* renamed from: b  reason: collision with root package name */
    private final PrintStream f1520b = new PrintStream(new C0058a(this));

    /* renamed from: biz.obake.team.android.a$a  reason: collision with other inner class name */
    class C0058a extends OutputStream {
        C0058a(a aVar) {
        }

        public void write(int i) {
        }
    }

    protected a() {
        f1519c = this;
    }

    public static a a() {
        a aVar = f1519c;
        if (aVar != null) {
            return aVar;
        }
        throw new b("{4280C1D8-BF15-451C-B81E-E77AB6CC7373}");
    }

    private void b() {
        PrintStream printStream = System.out;
        PrintStream printStream2 = System.err;
        System.setOut(this.f1520b);
        System.setErr(this.f1520b);
    }

    public void onCreate() {
        f1519c = this;
        super.onCreate();
        b();
    }
}
